import 'package:flutter/material.dart';

import 'page/file/file_manager.dart';
import 'page/file/image_manager.dart';
import 'page/main_page.dart';
import 'page/login/welcome_page.dart';
import 'page/login/agreement_page.dart';
import 'page/mine/change_password.dart';
import 'page/mine/change_phone.dart';

/// created by hcl
/// on 2024/2/22
/// routers
/// desc
class AppRoutes {
  static String welcome = '/';
  static String agreement = '/agreement';
  static String main = '/main';
  static String changePhone = '/changePhone';
  static String changePassword = '/changePassword';
  static String fileManager = '/fileManager';
  static String imageManager = '/imageManager';

  static Map<String, WidgetBuilder> routes = {
    welcome: (context) => const WelcomePage(),
    agreement: (context) => const AgreementPage(),
    main: (context) => const MainPage(),
    changePhone: (context) => const ChangePhonePage(),
    changePassword: (context) => const ChangePasswordPage(),
    fileManager: (context) => const FileManagerPage(),
    imageManager: (context) => const ImageManagerPage(),
  };
}
